package server;

public class Farmer {
	private int passhash;
	private String name;
	private String email;
	private int pubLocation;
	private String privLocation;
	private String aboutMe;
	private boolean isAdmin;
	
	public Farmer(String name, String email, int passhash, int pubLocation,
			String privLocation, String aboutMe, boolean isAdmin)
	{
		this.name = name;
		this.email = email;
		this.passhash = passhash;
		this.pubLocation = pubLocation;
		this.privLocation = privLocation;
		this.aboutMe = aboutMe;
		this.isAdmin = isAdmin;
	}
	
	
	public int getPasshash() {
		return passhash;
	}
	public void setPasshash(int passhash) {
		this.passhash = passhash;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getPubLocation() {
		return pubLocation;
	}
	public void setPubLocation(int pubLocation) {
		this.pubLocation = pubLocation;
	}
	public String getPrivLocation() {
		return privLocation;
	}
	public void setPrivLocation(String privLocation) {
		this.privLocation = privLocation;
	}
	public String getAboutMe() {
		return aboutMe;
	}
	public void setAboutMe(String aboutMe) {
		this.aboutMe = aboutMe;
	}
	public Boolean getIsAdmin() {
		return isAdmin;
	}
	public void setIsAdmin(Boolean isAdmin) {
		this.isAdmin = isAdmin;
	}

}
